package cn.shiwei.hr.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class RegisterDTO {

    @NotEmpty(message = "请输入正确的手机号")
    private String mobile;

    @NotEmpty(message = "请输入验证码")
    private String smsCode;

    private String imageCode;

    @NotEmpty(message = "密码不能为空")
    private String password;

    // regChannel

    @NotNull(message = "非法请求")
    private Integer regChannel;

}
